﻿using LibYanu.DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Automapping;
using LibYanu.Security.Model;

namespace LibYanu.Security
{
    public  class SecurityGen:PersistentModelGeneratorBase
    {
        public const string NhDiff = "nhibernate.session.libyanu.security";
        public override AutoPersistenceModel Generate()
        {
            
            HasAuto = false;            
            AddClassMapFromAssemblyOf<AspnetMembershipMap>();
            AddClassMapFromAssemblyOf<AspnetUserMap>();
            //AddClassMapFromAssemblyOf<AspnetRoleMap>();
            return base.Generate();
        }
    }
}
